package com.app.utils;

import java.util.Random;

public class MathUtil {

    public static double getRandomDouble(double min, double max) {
        Random rand = new Random();
        double yjResult = 0;
        yjResult = min + (rand.nextDouble() * (max - min));
        yjResult = (double) Math.round(yjResult * 100) / 100;
        return yjResult;
    }
}
